<template>
    <div>
        <div class="order_num">
            <div class="order_car_pic">
                <div class="order_car_time">2022-01-21</div>
                <img src="../img/开花馒头.jpg" alt="" class='order_carimg' />
            </div>
            <div class="order_car_msg">
                <div class="order_car_name">大众朗逸</div>
                <div className="cz_zn">出租中</div>
                <div class="car_details">三厢|1.6|自动|乘坐5人</div>
            </div>
            <el-button type="warning">查看订单</el-button>
        </div>
    </div>
</template>

<style scoped lang="scss">
.order_num {
    width: 900px;
    height: 130px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border: 2px solid rgb(231, 246, 252);
    background-color: rgb(231, 246, 252);
    border-radius: 5px;
    padding-left: 10px;
    // background-color: coral;

    .order_car_pic {
        height: 100%;

        .order_car_time {
            margin-top: 5px;
            font-size: 14px;
            color: rgb(117, 117, 116);

        }

        .order_carimg {
            width: 130px;
            height: 80px;
            float: left;
            margin-top: 14px;
            border-radius: 10px;
        }
    }

    .order_car_msg {
        height: 80px;
        margin-top: 25px;
        margin-left: 10px;
        float: left;

        // background-color: cornflowerblue;
        .order_car_name {
            margin-top: 5px;
        }

        .cz_zn {
            font-size: 14px;
            margin-top: 5px;
            color: rgb(117, 117, 116);
            display: inline-block;
        }

        .car_details {
            margin-top: 5px;
            font-size: 14px;
            color: rgb(117, 117, 116);
        }
    }
}

.el-button--warning {
    --el-button-bg-color: rgb(101, 207, 131);
    ;
    --el-button-hover-bg-color: rgb(101, 207, 131);
    --el-button-border-color: rgb(101, 207, 131);
    ;
    --el-button-hover-border-color: rgb(101, 207, 131);
    ;
    --el-button-active-border-color: rgb(86, 177, 86);
    --el-button-active-bg-color: rgb(86, 177, 86);
    // margin-top: 30px;
    margin-left: 500px;
    width: 80px;
    height: 40px;
}
</style>